import request from '@/router/axios';
// 列表
export const pageList = (current, size, params) => {
  return request({
    url: '/api/rb-oem/oem/sphere/sphere_douyin/pageList',
    method: 'get',
    params: {
      current,
      size,
      ...params
    }
  })
}
// 删除视频
export const del = (id) => {
  return request({
    url: '/api/rb-oem/oem/sphere/sphere_douyin/del',
    method: 'post',
    params: {
      id
    }
  })
}
// add
export const save = (data) => {
  return request({
    url: '/api/rb-oem/oem/sphere/sphere_douyin/save',
    method: 'post',
    data
  })
}

// 详情
export const selectOne = (id) => {
  return request({
    url: '/api/rb-oem/oem/sphere/sphere_douyin/selectOne',
    method: 'get',
    params: {
      id
    }
  })
}
